package com.jright.tools;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Times {

	private String times;
	
	//获取现在时间
	public  String getTimes() {
		Date now = new Date();
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
		times = dateFormat.format(now);
		return times;
	}
	
}
